import {createStore,combineReducers} from 'redux'
import {CollapsedReducer} from './reducers/CollapsedReducer'

// 合并reducer
const reducer = combineReducers({
    CollapsedReducer
})
const store = createStore(reducer)

export default store


/*
    store.dispatch()
    store.subsribe()
*/